#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{
	int i = 0;
	int a = 20;
	int count = 5;
	int sum = 0;
	while (count)
	{
		sum=sum+a;
		a = a / 2;
		count--;
	}
	printf("%d", sum);
}